package com.phy.gsjl.form;

/**
 * MessageForm类的创建是为了在MessageController中更方便的接收信息数据
 * @author Curry
 *
 */
public class MessageForm {
	
	/**
	 * 回复信息的类型
	 */
	private Integer type;
	
	/**
	 * 发布人
	 */
	private String username;
	
	/**
	 * 发布详情
	 */
	private String m_details;
	
	public MessageForm() {

	}

	public MessageForm(Integer type, String username, String m_details) {
		this.type = type;
		this.username = username;
		this.m_details = m_details;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getM_details() {
		return m_details;
	}

	public void setM_details(String m_details) {
		this.m_details = m_details;
	}
	
	@Override
	public String toString() {
		return "MessageForm [type=" + type + ", username=" + username + ", m_details=" + m_details + "]";
	}
}
